<!DOCTYPE html>
<html lang="en">
<head>
<title>部门</title>
<meta charset="UTF-8" />
<meta name="Author" content="" />
<meta name="Keywords" content="" />
<meta name="Description" content="" />
<link rel="stylesheet" href="../../../js/bootstrap/themes/default/bootstrap.css" />
<link rel="stylesheet" href="../../../js/jquery-easyui-1.5/themes/bootstrap/validatebox.css" />
<link rel="stylesheet" href="../../../js/ztree/css/zTreeStyle/zTreeStyle.css" />
<link rel="stylesheet" href="../../../css/jquery.select2.css" />
<link rel="stylesheet" href="../../../css/jquery.select2-bootstrap.css" />
<script src="../../../js/common/package.js"></script>
<script src="../../../js/common/url.js"></script>
<script src="../../../js/common/jquery-1.11.3.min.js"></script>
<script src="../../../js/bootstrap/bootstrap.js"></script>
<script src="../../../js/bootstrap/plugins/bootstrap-paginator.js"></script>
<script src="../../../js/jquery-easyui-1.5/jquery.easyui.min.js"></script>
<script src="../../../js/common/jquery.select2.js"></script>
<script src="../../../js/ztree/js/jquery.ztree.all.min.js"></script>
<script src="../../../js/common/json2.js"></script>
<script src="../../../js/common/base.js"></script>
<script src="../../../js/common/datagrid2.js"></script>
<script src="../../../js/common/tree.js"></script>
<script src="../../../js/each/main/main.js"></script>
<script src="../../../js/common/wflow.js"></script>
<script src="../../../js/each/etep/wf/waitHandleForHome.js"></script>
<script src="../../../js/common/formatter.js"></script>
<style type="text/css">
body {
	background: #eee url("../../../img/back.png") repeat;
}

.container-fluid {
	padding: 5px;
}
</style>
</head>
<body>
	<div class="container-fluid">
		<div class="col-md-12">
			<div class="panel panel-info" >
				<div class="panel-heading">
					<h3 class="panel-title">查询栏</h3>
				</div>
				<div class="panel-body">
					<form id="searchForm" class="form-inline">
						<div class="form-group">
							<label class="form-label">业务ID:</label>
						</div>
						<div class="form-group">
							<input name="procBizid" type="text" class="form-control"
								placeholder="请输入业务ID">
						</div>
						
						<div class="form-group">
							<label class="form-label">任务名称:</label>
						</div>
						<div class="form-group">
							<input name="procCtaskname" type="text" class="form-control"
								placeholder="请输入任务名称">
						</div>
						<div class="form-group">
							<label class="form-label">流程名称:</label>
						</div>
						<div class="form-group">
							<input name="procName" type="text" class="form-control"
								placeholder="请输入流程名称">
						</div>
						<div class="form-group">
							<label class="form-label">流程摘要:</label>
						</div>
						<div class="form-group">
							<input name="procMemo" type="text" class="form-control"
								placeholder="请输入流程摘要">
						</div>
						<div class="form-group">
							<label class="form-label">流程状态:</label>
						</div>
						<div class="form-group">
							<select class="form-control" name="procTaskStatus"
								style="width: 150px;">
								<option value=""></option>
								<option value="1">待签收</option>
								<option value="2">待处理</option>
							</select>
						</div>
						<button id="btn-search" type="button"
							class="btn btn-default btn-sm">查询</button>
						<button id="btn-reset" type="button"
							class="btn btn-default btn-sm">重置</button>
					</form>
				</div>
			</div>
			<div class="panel panel-info">
				<div class="panel-heading">
					<h3 class="panel-title">待办任务</h3>
				</div>
				<div class="panel-body">
					<form id="listForm">
						<button id="btn-handle" type="button" class="btn btn-primary btn-sm">审批</button>
						<button id="btn-assign" type="button" class="btn btn-primary btn-sm">签收</button>
						<button id="btn-unassign" type="button" class="btn btn-primary btn-sm">取消签收</button>
						<button id="btn-delegate" type="button" class="btn btn-primary btn-sm">委托授权</button>
						<button id="btn-ref" type="button" class="btn btn-success btn-sm">刷新</button>
					</form>
				</div>
				<table id='datagrid' class="table table-bordered table-hover">
					<thead>
						<tr>
							<th field="ck"></th>
							<th field="rn" align="text-center" class="text-center">序号</th>
							<th field="id" hidden="true">id</th>
							<th field="procApproveurl" hidden="true">url</th>
							<th field="procInstId" hidden="true">流程实例</th>
							<th field="procCtaskId" hidden="true">任务ID</th>
							<th field="procCtaskcode" hidden="true">任务代码</th>
							<th field="procBizid" align="text-center" class="text-center">业务ID</th>
							<th field="procBiztype" hidden="true">业务类型</th>
							<th field="procOrgcode" hidden="true">机构代码</th>
							<th field="procCtaskname" class="text-center">任务名称</th>
							<th field="procName" class="text-center">流程名称</th>
							<th field="procMemo" class="text-center">流程摘要</th>
							<th field="procTaskCommitter" align="text-center" class="text-center">提交人</th>
							<th field="procTaskAssignee" align="text-center" class="text-center">处理人</th>
							<th field="procLicensor" align="text-center" class="text-center">委托人</th>
							<th field="procTaskCommittime" align="text-center" class="text-center">任务到达时间</th>
							<th field="procTaskAssigntime" align="text-center" class="text-center">任务受理时间</th>
							<th field="procTaskStatusName" align="text-center" class="text-center">流程任务状态</th>
							<th field="procTaskStatus" hidden="true">流程任务状态</th>
						</tr>
					</thead>
					<tbody></tbody>
				</table>
				<div class="panel-footer">
					<div id="paginator"></div>
				</div>
			</div>
		</div>
	</div>
	<div id="delegate-win" class="modal fade" tabindex="-1" role="dialog"
		aria-labelledby="delegate-win-label" aria-describedby="添加或修改信息对话框">
		<div class="modal-dialog" role="document">
			<div class="modal-content">
				<div class="modal-header">
					<h5 class="modal-title" id="delegate-win-label">指定委托人</h5>
				</div>
				<div class="modal-body">
					<form id="delegateForm" class="form-horizontal">
						<div class="form-group">
							<label class="col-sm-3 control-label">委托处理人</label>
							<div class="col-sm-9">
								<select id="btn-ProcAssignee" name="procAssignee"
									style="width: 100%"></select>
							</div>
						</div>
					</form>
				</div>
				<div class="modal-footer">
					<button id="btn-delegate-save" type="button"
						class="btn btn-success btn-sm">保存</button>
					<button id="btn-delegate-close" type="button"
						class="btn btn-default btn-sm">关闭</button>
				</div>
			</div>
		</div>
	</div>
</body>
</html>